package top.oauth2.api.demo.service.impl;

import org.springframework.stereotype.Service;
import top.oauth2.api.demo.service.TestPolymorphismService;

/**
 * @author xphu
 * @version 1.0
 * @date 2021/9/15 11:46
 */
@Service("testPolymorphismService2")
public class TestPolymorphismService2 extends TestPolymorphismService {
    @Override
    public String getName(Integer type) {
        return "我是子类2，我的名字叫做：李四";
    }
}
